package com.example.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName borrow
 */
@TableName(value ="borrow")
@Data
public class Borrow implements Serializable {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 书id
     */
    private Integer bookId;

    /**
     * 审核状态 0 待审核 1审核通过 2审核未通过
     */
    private Integer status;

    private String borrowTime;

    private String checkTime;

    @TableId
    private String borrowId;

    @TableField(exist = false)
    private String bookName;

    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}